#ifndef _VF_OLDAPI_H
#define _VF_OLDAPI_H
#include <VFAdapterAPIs.h>
namespace VFAdapter {

//!
//! @brief 边界填充创建面(无问题)
//!
//! @param curveIDs 边界的拓扑边ID
//! @param num 边界边的数量
//! @param surfaceID 填充曲面的ID
//! @return VFAdapterAPI
//!
VFAdapterAPI vfHRESULT vfCreateSurfaceByFill_old(int64_t *curveIDs, int num,
                                                 int64_t &surfaceID);

VFAdapterAPI vfHRESULT vfCurveCurveIntersection_old(
    int64_t lCurveTag1, int64_t lCurveTag2, double &x, double &y, double &z,
    bool bCreatePoint, int64_t &ptID);

VFAdapterAPI vfHRESULT vfCurveSurfaceIntersection_old(
    int64_t lCurveTag1, int64_t lSurfaceTag1, double &x, double &y, double &z,
    bool bCreatePoint, int64_t &ptID);

VFAdapterAPI vfHRESULT vfCreateCurveBySurfaceIntersection_old(
    int64_t surfaceID1, int64_t surfaceID2, int64_t &curveID);

VFAdapterAPI vfHRESULT vfOffsetSurface_old(int64_t surfaceID1, double dis,
                                           int64_t &surfaceID2);

VFAdapterAPI vfHRESULT vfSurfaceArea_old(int64_t surfaceID, double &dArea);
VFAdapterAPI vfHRESULT vfSurfacePerimeter_old(int64_t surfaceID,
                                              double &dPerimeter);

VFAdapterAPI vfHRESULT vfSurfaceWeight_old(int64_t surfaceID,
                                           double surfaceDensity,
                                           double &dWeight); // Yes102

VFAdapterAPI vfHRESULT vfCreateCurveOnSurfaceByTwoPoints_old(
    int64_t pointID1, int64_t pointID2, int64_t surfaceID,
    int64_t &curveID); // Yes102
VFAdapterAPI vfHRESULT vfCreateGravityOfSurface_old(int64_t surfaceID,
                                                    double *dGravity); // Yes102

VFAdapterAPI vfHRESULT vfTestPointOnCurve_old(int64_t pointID, int64_t curveID,
                                              bool &bOn); // Yes102

VFAdapterAPI vfHRESULT vfTestPointOnSurface_old(int64_t pointID,
                                                int64_t surfaceID,
                                                long &bOn); // Yes102

//!
//! @brief 边界填充创建面(无问题)
//!
//! @param curveIDs 边界的拓扑边ID
//! @param num 边界边的数量
//! @param surfaceID 填充曲面的ID
//! @return VFAdapterAPI
//!
VFAdapterAPI vfHRESULT vfCreateSurfaceByFill_old(int64_t *curveIDs, int num,
                                                 int64_t &surfaceID);
} // namespace VFAdapter

#endif